package com.sg.service.biz.calc.impl;

import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.collection.CollectionUtil;
import com.sg.common.util.RedisUtil;
import com.sg.dto.biz.calc.req.*;
import com.sg.dto.biz.calc.res.*;
import com.sg.service.biz.calc.CalculationRulesService;
import com.sg.service.biz.calc.InterfaceModeService;
import com.sg.common.exception.Assert;
import com.wicket.okrcomponent.integration.InterfaceModeService;
import com.wicket.okrcomponent.integration.dto.*;
import org.apache.skywalking.apm.toolkit.trace.Tag;
import org.apache.skywalking.apm.toolkit.trace.Tags;
import org.apache.skywalking.apm.toolkit.trace.Trace;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.stream.Collectors;

/**
 * @author ：
 * @version 1.0
 * @date ：
 */
@Service
public class BusinessAtomServiceImpl
        implements com.wicket.okrcalc.biz.service.BusinessAtomService {

    @Resource
    private RedisUtil redisUtil;
    @Resource
    private InterfaceModeService interfaceModeService;
    @Resource
    private InterfaceModeService interfaceModeService;
    @Resource
    private CalculationRulesService calculationRulesService;

    /**
     * D4查询内存业务数据详情(业务原子)[9614]
     * gen by moon at 5/19/2024, 2:15:34 AM
     */
    @Trace(operationName = "D4查询内存业务数据详情(业务原子)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryCalcMemoryBusinessDataDetailComRespDto queryCalcMemoryBusinessDataDetailCom(QueryCalcMemoryBusinessDataDetailComReqDto reqDto) {


        QueryClacMemoryBusinessDataDetailComRespDto queryClacMemoryBusinessDataDetailComRespDto_1 = null;
//步骤0: D2-分析单字段批量转数据集(公共) - analysisFieldBatchDataCom
        AnalysisFieldBatchDataComRespDto analysisFieldBatchDataComRespDto = null;
        AnalysisFieldBatchDataComReqDto analysisFieldBatchDataComReqDto = new AnalysisFieldBatchDataComReqDto();
        analysisFieldBatchDataComReqDto.setCustomFieldValue1("customField1");//CUSTOM_CONVENTION//sourceId:1808047_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue2("customField2");//CUSTOM_CONVENTION//sourceId:1808049_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue3("customField3");//CUSTOM_CONVENTION//sourceId:1808051_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue4("customField4");//CUSTOM_CONVENTION//sourceId:1808053_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue5("customField5");//CUSTOM_CONVENTION//sourceId:1808055_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue6("customField6");//CUSTOM_CONVENTION//sourceId:1808057_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue7("customField7");//CUSTOM_CONVENTION//sourceId:1808059_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue8("customField8");//CUSTOM_CONVENTION//sourceId:1808061_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue9("customField9");//CUSTOM_CONVENTION//sourceId:1808063_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue10("customField10");//CUSTOM_CONVENTION//sourceId:1808065_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue11("customField11");//CUSTOM_CONVENTION//sourceId:1808067_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue12("customField12");//CUSTOM_CONVENTION//sourceId:1808069_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue13("customField13");//CUSTOM_CONVENTION//sourceId:1808071_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue14("customField14");//CUSTOM_CONVENTION//sourceId:1808073_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue15("customField15");//CUSTOM_CONVENTION//sourceId:1808075_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue16("customField16");//CUSTOM_CONVENTION//sourceId:1808077_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue17("customField17");//CUSTOM_CONVENTION//sourceId:1808079_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue18("customField18");//CUSTOM_CONVENTION//sourceId:1808081_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue19("customField19");//CUSTOM_CONVENTION//sourceId:1808083_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue20("customField20");//CUSTOM_CONVENTION//sourceId:1808085_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue21("customField21");//CUSTOM_CONVENTION//sourceId:1808087_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue22("customField22");//CUSTOM_CONVENTION//sourceId:1808089_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue23("customField23");//CUSTOM_CONVENTION//sourceId:1808091_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue24("customField24");//CUSTOM_CONVENTION//sourceId:1808093_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue25("customField25");//CUSTOM_CONVENTION//sourceId:1808095_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue26("customField26");//CUSTOM_CONVENTION//sourceId:1808097_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue27("customField27");//CUSTOM_CONVENTION//sourceId:1808099_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue28("customField28");//CUSTOM_CONVENTION//sourceId:1808101_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue29("customField29");//CUSTOM_CONVENTION//sourceId:1808103_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue30("customField30");//CUSTOM_CONVENTION//sourceId:1808105_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue31("customField31");//CUSTOM_CONVENTION//sourceId:1808107_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue32("customField32");//CUSTOM_CONVENTION//sourceId:1808109_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue33("customField33");//CUSTOM_CONVENTION//sourceId:1808111_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue34("customField34");//CUSTOM_CONVENTION//sourceId:1808113_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue35("customField35");//CUSTOM_CONVENTION//sourceId:1808115_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue36("customField36");//CUSTOM_CONVENTION//sourceId:1808117_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue37("customField37");//CUSTOM_CONVENTION//sourceId:1808119_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue38("customField38");//CUSTOM_CONVENTION//sourceId:1808121_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue39("customField39");//CUSTOM_CONVENTION//sourceId:1808123_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue40("customField40");//CUSTOM_CONVENTION//sourceId:1808125_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue41("customField41");//CUSTOM_CONVENTION//sourceId:1808127_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue42("customField42");//CUSTOM_CONVENTION//sourceId:1808129_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue43("customField43");//CUSTOM_CONVENTION//sourceId:1808131_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue44("customField44");//CUSTOM_CONVENTION//sourceId:1808133_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue45("customField45");//CUSTOM_CONVENTION//sourceId:1808135_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue46("customField46");//CUSTOM_CONVENTION//sourceId:1808137_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue47("customField47");//CUSTOM_CONVENTION//sourceId:1808139_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue48("customField48");//CUSTOM_CONVENTION//sourceId:1808141_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue49("customField49");//CUSTOM_CONVENTION//sourceId:1808143_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue50("customField50");//CUSTOM_CONVENTION//sourceId:1808145_1
        if (reqDto != null) {
            analysisFieldBatchDataComReqDto.setCustomField1(reqDto.getCustomField1());//SimpleFieldAssign//sourceId:1808046_1
            analysisFieldBatchDataComReqDto.setCustomField2(reqDto.getCustomField2());//SimpleFieldAssign//sourceId:1808048_1
            analysisFieldBatchDataComReqDto.setCustomField3(reqDto.getCustomField3());//SimpleFieldAssign//sourceId:1808050_1
            analysisFieldBatchDataComReqDto.setCustomField4(reqDto.getCustomField4());//SimpleFieldAssign//sourceId:1808052_1
            analysisFieldBatchDataComReqDto.setCustomField5(reqDto.getCustomField5());//SimpleFieldAssign//sourceId:1808054_1
            analysisFieldBatchDataComReqDto.setCustomField6(reqDto.getCustomField6());//SimpleFieldAssign//sourceId:1808056_1
            analysisFieldBatchDataComReqDto.setCustomField7(reqDto.getCustomField7());//SimpleFieldAssign//sourceId:1808058_1
            analysisFieldBatchDataComReqDto.setCustomField8(reqDto.getCustomField8());//SimpleFieldAssign//sourceId:1808060_1
            analysisFieldBatchDataComReqDto.setCustomField9(reqDto.getCustomField9());//SimpleFieldAssign//sourceId:1808062_1
            analysisFieldBatchDataComReqDto.setCustomField10(reqDto.getCustomField10());//SimpleFieldAssign//sourceId:1808064_1
            analysisFieldBatchDataComReqDto.setCustomField11(reqDto.getCustomField11());//SimpleFieldAssign//sourceId:1808066_1
            analysisFieldBatchDataComReqDto.setCustomField12(reqDto.getCustomField12());//SimpleFieldAssign//sourceId:1808068_1
            analysisFieldBatchDataComReqDto.setCustomField13(reqDto.getCustomField13());//SimpleFieldAssign//sourceId:1808070_1
            analysisFieldBatchDataComReqDto.setCustomField14(reqDto.getCustomField14());//SimpleFieldAssign//sourceId:1808072_1
            analysisFieldBatchDataComReqDto.setCustomField15(reqDto.getCustomField15());//SimpleFieldAssign//sourceId:1808074_1
            analysisFieldBatchDataComReqDto.setCustomField16(reqDto.getCustomField16());//SimpleFieldAssign//sourceId:1808076_1
            analysisFieldBatchDataComReqDto.setCustomField17(reqDto.getCustomField17());//SimpleFieldAssign//sourceId:1808078_1
            analysisFieldBatchDataComReqDto.setCustomField18(reqDto.getCustomField18());//SimpleFieldAssign//sourceId:1808080_1
            analysisFieldBatchDataComReqDto.setCustomField19(reqDto.getCustomField19());//SimpleFieldAssign//sourceId:1808082_1
            analysisFieldBatchDataComReqDto.setCustomField20(reqDto.getCustomField20());//SimpleFieldAssign//sourceId:1808084_1
            analysisFieldBatchDataComReqDto.setCustomField21(reqDto.getCustomField21());//SimpleFieldAssign//sourceId:1808086_1
            analysisFieldBatchDataComReqDto.setCustomField22(reqDto.getCustomField22());//SimpleFieldAssign//sourceId:1808088_1
            analysisFieldBatchDataComReqDto.setCustomField23(reqDto.getCustomField23());//SimpleFieldAssign//sourceId:1808090_1
            analysisFieldBatchDataComReqDto.setCustomField24(reqDto.getCustomField24());//SimpleFieldAssign//sourceId:1808092_1
            analysisFieldBatchDataComReqDto.setCustomField25(reqDto.getCustomField25());//SimpleFieldAssign//sourceId:1808094_1
            analysisFieldBatchDataComReqDto.setCustomField26(reqDto.getCustomField26());//SimpleFieldAssign//sourceId:1808096_1
            analysisFieldBatchDataComReqDto.setCustomField27(reqDto.getCustomField27());//SimpleFieldAssign//sourceId:1808098_1
            analysisFieldBatchDataComReqDto.setCustomField28(reqDto.getCustomField28());//SimpleFieldAssign//sourceId:1808100_1
            analysisFieldBatchDataComReqDto.setCustomField29(reqDto.getCustomField29());//SimpleFieldAssign//sourceId:1808102_1
            analysisFieldBatchDataComReqDto.setCustomField30(reqDto.getCustomField30());//SimpleFieldAssign//sourceId:1808104_1
            analysisFieldBatchDataComReqDto.setCustomField31(reqDto.getCustomField31());//SimpleFieldAssign//sourceId:1808106_1
            analysisFieldBatchDataComReqDto.setCustomField32(reqDto.getCustomField32());//SimpleFieldAssign//sourceId:1808108_1
            analysisFieldBatchDataComReqDto.setCustomField33(reqDto.getCustomField33());//SimpleFieldAssign//sourceId:1808110_1
            analysisFieldBatchDataComReqDto.setCustomField34(reqDto.getCustomField34());//SimpleFieldAssign//sourceId:1808112_1
            analysisFieldBatchDataComReqDto.setCustomField35(reqDto.getCustomField35());//SimpleFieldAssign//sourceId:1808114_1
            analysisFieldBatchDataComReqDto.setCustomField36(reqDto.getCustomField36());//SimpleFieldAssign//sourceId:1808116_1
            analysisFieldBatchDataComReqDto.setCustomField37(reqDto.getCustomField37());//SimpleFieldAssign//sourceId:1808118_1
            analysisFieldBatchDataComReqDto.setCustomField38(reqDto.getCustomField38());//SimpleFieldAssign//sourceId:1808120_1
            analysisFieldBatchDataComReqDto.setCustomField39(reqDto.getCustomField39());//SimpleFieldAssign//sourceId:1808122_1
            analysisFieldBatchDataComReqDto.setCustomField40(reqDto.getCustomField40());//SimpleFieldAssign//sourceId:1808124_1
            analysisFieldBatchDataComReqDto.setCustomField41(reqDto.getCustomField41());//SimpleFieldAssign//sourceId:1808126_1
            analysisFieldBatchDataComReqDto.setCustomField42(reqDto.getCustomField42());//SimpleFieldAssign//sourceId:1808128_1
            analysisFieldBatchDataComReqDto.setCustomField43(reqDto.getCustomField43());//SimpleFieldAssign//sourceId:1808130_1
            analysisFieldBatchDataComReqDto.setCustomField44(reqDto.getCustomField44());//SimpleFieldAssign//sourceId:1808132_1
            analysisFieldBatchDataComReqDto.setCustomField45(reqDto.getCustomField45());//SimpleFieldAssign//sourceId:1808134_1
            analysisFieldBatchDataComReqDto.setCustomField46(reqDto.getCustomField46());//SimpleFieldAssign//sourceId:1808136_1
            analysisFieldBatchDataComReqDto.setCustomField47(reqDto.getCustomField47());//SimpleFieldAssign//sourceId:1808138_1
            analysisFieldBatchDataComReqDto.setCustomField48(reqDto.getCustomField48());//SimpleFieldAssign//sourceId:1808140_1
            analysisFieldBatchDataComReqDto.setCustomField49(reqDto.getCustomField49());//SimpleFieldAssign//sourceId:1808142_1
            analysisFieldBatchDataComReqDto.setCustomField50(reqDto.getCustomField50());//SimpleFieldAssign//sourceId:1808144_1
        }

        /*D2-分析单字段批量转数据集(公共)[8405]   */
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue1(), "D4查询内存业务数据详情(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值1不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue2(), "D4查询内存业务数据详情(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值2不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue3(), "D4查询内存业务数据详情(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值3不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue4(), "D4查询内存业务数据详情(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值4不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue5(), "D4查询内存业务数据详情(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值5不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue6(), "D4查询内存业务数据详情(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值6不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue7(), "D4查询内存业务数据详情(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值7不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue8(), "D4查询内存业务数据详情(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值8不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue9(), "D4查询内存业务数据详情(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值9不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue10(), "D4查询内存业务数据详情(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值10不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue11(), "D4查询内存业务数据详情(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值11不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue12(), "D4查询内存业务数据详情(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值12不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue13(), "D4查询内存业务数据详情(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值13不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue14(), "D4查询内存业务数据详情(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值14不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue15(), "D4查询内存业务数据详情(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值15不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue16(), "D4查询内存业务数据详情(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值16不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue17(), "D4查询内存业务数据详情(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值17不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue18(), "D4查询内存业务数据详情(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值18不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue19(), "D4查询内存业务数据详情(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值19不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue20(), "D4查询内存业务数据详情(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值20不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue21(), "D4查询内存业务数据详情(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值21不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue22(), "D4查询内存业务数据详情(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值22不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue23(), "D4查询内存业务数据详情(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值23不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue24(), "D4查询内存业务数据详情(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值24不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue25(), "D4查询内存业务数据详情(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值25不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue26(), "D4查询内存业务数据详情(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值26不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue27(), "D4查询内存业务数据详情(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值27不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue28(), "D4查询内存业务数据详情(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值28不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue29(), "D4查询内存业务数据详情(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值29不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue30(), "D4查询内存业务数据详情(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值30不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue31(), "D4查询内存业务数据详情(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值31不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue32(), "D4查询内存业务数据详情(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值32不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue33(), "D4查询内存业务数据详情(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值33不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue34(), "D4查询内存业务数据详情(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值34不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue35(), "D4查询内存业务数据详情(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值35不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue36(), "D4查询内存业务数据详情(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值36不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue37(), "D4查询内存业务数据详情(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值37不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue38(), "D4查询内存业务数据详情(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值38不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue39(), "D4查询内存业务数据详情(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值39不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue40(), "D4查询内存业务数据详情(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值40不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue41(), "D4查询内存业务数据详情(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值41不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue42(), "D4查询内存业务数据详情(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值42不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue43(), "D4查询内存业务数据详情(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值43不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue44(), "D4查询内存业务数据详情(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值44不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue45(), "D4查询内存业务数据详情(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值45不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue46(), "D4查询内存业务数据详情(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值46不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue47(), "D4查询内存业务数据详情(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值47不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue48(), "D4查询内存业务数据详情(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值48不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue49(), "D4查询内存业务数据详情(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值49不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue50(), "D4查询内存业务数据详情(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值50不能为空", false);
        analysisFieldBatchDataComRespDto = interfaceModeService.analysisFieldBatchDataCom(analysisFieldBatchDataComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


//步骤1: D4查询内存业务数据详情(公共) - queryClacMemoryBusinessDataDetailCom
        QueryClacMemoryBusinessDataDetailComRespDto queryClacMemoryBusinessDataDetailComRespDto = null;
        QueryClacMemoryBusinessDataDetailComReqDto queryClacMemoryBusinessDataDetailComReqDto = new QueryClacMemoryBusinessDataDetailComReqDto();
        if (reqDto != null) {
            queryClacMemoryBusinessDataDetailComReqDto.setBusinessDataObject(reqDto.getBusinessDataObject());//SimpleFieldAssign//sourceId:1808147_1
            queryClacMemoryBusinessDataDetailComReqDto.setDataObjectBatchCode(reqDto.getDataObjectBatchCode());//SimpleFieldAssign//sourceId:1808148_1
        }

        /*D4查询内存业务数据详情(公共)[9613]   */
        Assert.isNull(queryClacMemoryBusinessDataDetailComReqDto.getBusinessDataObject(), "D4查询内存业务数据详情(业务原子)-D4查询内存业务数据详情(公共)-业务数据对象不能为空", false);
        Assert.isNull(queryClacMemoryBusinessDataDetailComReqDto.getDataObjectBatchCode(), "D4查询内存业务数据详情(业务原子)-D4查询内存业务数据详情(公共)-数据对象批次标识不能为空", false);
        queryClacMemoryBusinessDataDetailComRespDto = interfaceModeService.queryClacMemoryBusinessDataDetailCom(queryClacMemoryBusinessDataDetailComReqDto)/*vcase invoke isSameApp*/;


        queryClacMemoryBusinessDataDetailComRespDto_1 = queryClacMemoryBusinessDataDetailComRespDto;

        QueryCalcMemoryBusinessDataDetailComRespDto retData = new QueryCalcMemoryBusinessDataDetailComRespDto();
        if (queryClacMemoryBusinessDataDetailComRespDto_1 != null) {
            retData.setCustomField1(queryClacMemoryBusinessDataDetailComRespDto_1.getCustomField1());//SimpleFieldAssign//sourceId:1808641_1
            retData.setCustomField2(queryClacMemoryBusinessDataDetailComRespDto_1.getCustomField2());//SimpleFieldAssign//sourceId:1808642_1
            retData.setCustomField3(queryClacMemoryBusinessDataDetailComRespDto_1.getCustomField3());//SimpleFieldAssign//sourceId:1808643_1
            retData.setCustomField4(queryClacMemoryBusinessDataDetailComRespDto_1.getCustomField4());//SimpleFieldAssign//sourceId:1808644_1
            retData.setCustomField5(queryClacMemoryBusinessDataDetailComRespDto_1.getCustomField5());//SimpleFieldAssign//sourceId:1808645_1
            retData.setCustomField6(queryClacMemoryBusinessDataDetailComRespDto_1.getCustomField6());//SimpleFieldAssign//sourceId:1808646_1
            retData.setCustomField7(queryClacMemoryBusinessDataDetailComRespDto_1.getCustomField7());//SimpleFieldAssign//sourceId:1808647_1
            retData.setCustomField8(queryClacMemoryBusinessDataDetailComRespDto_1.getCustomField8());//SimpleFieldAssign//sourceId:1808648_1
            retData.setCustomField9(queryClacMemoryBusinessDataDetailComRespDto_1.getCustomField9());//SimpleFieldAssign//sourceId:1808649_1
            retData.setCustomField10(queryClacMemoryBusinessDataDetailComRespDto_1.getCustomField10());//SimpleFieldAssign//sourceId:1808650_1
            retData.setCustomField11(queryClacMemoryBusinessDataDetailComRespDto_1.getCustomField11());//SimpleFieldAssign//sourceId:1808651_1
            retData.setCustomField12(queryClacMemoryBusinessDataDetailComRespDto_1.getCustomField12());//SimpleFieldAssign//sourceId:1808652_1
            retData.setCustomField13(queryClacMemoryBusinessDataDetailComRespDto_1.getCustomField13());//SimpleFieldAssign//sourceId:1808653_1
            retData.setCustomField14(queryClacMemoryBusinessDataDetailComRespDto_1.getCustomField14());//SimpleFieldAssign//sourceId:1808654_1
            retData.setCustomField15(queryClacMemoryBusinessDataDetailComRespDto_1.getCustomField15());//SimpleFieldAssign//sourceId:1808655_1
            retData.setCustomField16(queryClacMemoryBusinessDataDetailComRespDto_1.getCustomField16());//SimpleFieldAssign//sourceId:1808656_1
            retData.setCustomField17(queryClacMemoryBusinessDataDetailComRespDto_1.getCustomField17());//SimpleFieldAssign//sourceId:1808657_1
            retData.setCustomField18(queryClacMemoryBusinessDataDetailComRespDto_1.getCustomField18());//SimpleFieldAssign//sourceId:1808658_1
            retData.setCustomField19(queryClacMemoryBusinessDataDetailComRespDto_1.getCustomField19());//SimpleFieldAssign//sourceId:1808659_1
            retData.setCustomField20(queryClacMemoryBusinessDataDetailComRespDto_1.getCustomField20());//SimpleFieldAssign//sourceId:1808660_1
            retData.setCustomField21(queryClacMemoryBusinessDataDetailComRespDto_1.getCustomField21());//SimpleFieldAssign//sourceId:1808661_1
            retData.setCustomField22(queryClacMemoryBusinessDataDetailComRespDto_1.getCustomField22());//SimpleFieldAssign//sourceId:1808662_1
            retData.setCustomField23(queryClacMemoryBusinessDataDetailComRespDto_1.getCustomField23());//SimpleFieldAssign//sourceId:1808663_1
            retData.setCustomField24(queryClacMemoryBusinessDataDetailComRespDto_1.getCustomField24());//SimpleFieldAssign//sourceId:1808664_1
            retData.setCustomField25(queryClacMemoryBusinessDataDetailComRespDto_1.getCustomField25());//SimpleFieldAssign//sourceId:1808665_1
            retData.setCustomField26(queryClacMemoryBusinessDataDetailComRespDto_1.getCustomField26());//SimpleFieldAssign//sourceId:1808666_1
            retData.setCustomField27(queryClacMemoryBusinessDataDetailComRespDto_1.getCustomField27());//SimpleFieldAssign//sourceId:1808667_1
            retData.setCustomField28(queryClacMemoryBusinessDataDetailComRespDto_1.getCustomField28());//SimpleFieldAssign//sourceId:1808668_1
            retData.setCustomField29(queryClacMemoryBusinessDataDetailComRespDto_1.getCustomField29());//SimpleFieldAssign//sourceId:1808669_1
            retData.setCustomField30(queryClacMemoryBusinessDataDetailComRespDto_1.getCustomField30());//SimpleFieldAssign//sourceId:1808670_1
            retData.setCustomField31(queryClacMemoryBusinessDataDetailComRespDto_1.getCustomField31());//SimpleFieldAssign//sourceId:1808671_1
            retData.setCustomField32(queryClacMemoryBusinessDataDetailComRespDto_1.getCustomField32());//SimpleFieldAssign//sourceId:1808672_1
            retData.setCustomField33(queryClacMemoryBusinessDataDetailComRespDto_1.getCustomField33());//SimpleFieldAssign//sourceId:1808673_1
            retData.setCustomField34(queryClacMemoryBusinessDataDetailComRespDto_1.getCustomField34());//SimpleFieldAssign//sourceId:1808674_1
            retData.setCustomField35(queryClacMemoryBusinessDataDetailComRespDto_1.getCustomField35());//SimpleFieldAssign//sourceId:1808675_1
            retData.setCustomField36(queryClacMemoryBusinessDataDetailComRespDto_1.getCustomField36());//SimpleFieldAssign//sourceId:1808676_1
            retData.setCustomField37(queryClacMemoryBusinessDataDetailComRespDto_1.getCustomField37());//SimpleFieldAssign//sourceId:1808677_1
            retData.setCustomField38(queryClacMemoryBusinessDataDetailComRespDto_1.getCustomField38());//SimpleFieldAssign//sourceId:1808678_1
            retData.setCustomField39(queryClacMemoryBusinessDataDetailComRespDto_1.getCustomField39());//SimpleFieldAssign//sourceId:1808679_1
            retData.setCustomField40(queryClacMemoryBusinessDataDetailComRespDto_1.getCustomField40());//SimpleFieldAssign//sourceId:1808680_1
            retData.setCustomField41(queryClacMemoryBusinessDataDetailComRespDto_1.getCustomField41());//SimpleFieldAssign//sourceId:1808681_1
            retData.setCustomField42(queryClacMemoryBusinessDataDetailComRespDto_1.getCustomField42());//SimpleFieldAssign//sourceId:1808682_1
            retData.setCustomField43(queryClacMemoryBusinessDataDetailComRespDto_1.getCustomField43());//SimpleFieldAssign//sourceId:1808683_1
            retData.setCustomField44(queryClacMemoryBusinessDataDetailComRespDto_1.getCustomField44());//SimpleFieldAssign//sourceId:1808684_1
            retData.setCustomField45(queryClacMemoryBusinessDataDetailComRespDto_1.getCustomField45());//SimpleFieldAssign//sourceId:1808685_1
            retData.setCustomField46(queryClacMemoryBusinessDataDetailComRespDto_1.getCustomField46());//SimpleFieldAssign//sourceId:1808686_1
            retData.setCustomField47(queryClacMemoryBusinessDataDetailComRespDto_1.getCustomField47());//SimpleFieldAssign//sourceId:1808687_1
            retData.setCustomField48(queryClacMemoryBusinessDataDetailComRespDto_1.getCustomField48());//SimpleFieldAssign//sourceId:1808688_1
            retData.setCustomField49(queryClacMemoryBusinessDataDetailComRespDto_1.getCustomField49());//SimpleFieldAssign//sourceId:1808689_1
            retData.setCustomField50(queryClacMemoryBusinessDataDetailComRespDto_1.getCustomField50());//SimpleFieldAssign//sourceId:1808690_1
        }


        return retData;
    }

    /**
     * D4新增内存业务数据(业务原子)[9609]
     * gen by moon at 5/19/2024, 2:42:59 AM
     */
    @Trace(operationName = "D4新增内存业务数据(业务原子)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public AddCalcMemoryDataComRespDto addCalcMemoryDataCom(AddCalcMemoryDataComReqDto reqDto) {


        //步骤0: D2-分析单字段批量转数据集(公共) - analysisFieldBatchDataCom
        AnalysisFieldBatchDataComRespDto analysisFieldBatchDataComRespDto = null;
        AnalysisFieldBatchDataComReqDto analysisFieldBatchDataComReqDto = new AnalysisFieldBatchDataComReqDto();
        if (reqDto != null) {
            analysisFieldBatchDataComReqDto.setCustomField1(reqDto.getCustomField1());//SimpleFieldAssign//sourceId:1807348_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue1(reqDto.getCustomFieldValue1());//SimpleFieldAssign//sourceId:1807349_1
            analysisFieldBatchDataComReqDto.setCustomField2(reqDto.getCustomField2());//SimpleFieldAssign//sourceId:1807350_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue2(reqDto.getCustomFieldValue2());//SimpleFieldAssign//sourceId:1807351_1
            analysisFieldBatchDataComReqDto.setCustomField3(reqDto.getCustomField3());//SimpleFieldAssign//sourceId:1807352_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue3(reqDto.getCustomFieldValue3());//SimpleFieldAssign//sourceId:1807353_1
            analysisFieldBatchDataComReqDto.setCustomField4(reqDto.getCustomField4());//SimpleFieldAssign//sourceId:1807354_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue4(reqDto.getCustomFieldValue4());//SimpleFieldAssign//sourceId:1807355_1
            analysisFieldBatchDataComReqDto.setCustomField5(reqDto.getCustomField5());//SimpleFieldAssign//sourceId:1807356_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue5(reqDto.getCustomFieldValue5());//SimpleFieldAssign//sourceId:1807357_1
            analysisFieldBatchDataComReqDto.setCustomField6(reqDto.getCustomField6());//SimpleFieldAssign//sourceId:1807358_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue6(reqDto.getCustomFieldValue6());//SimpleFieldAssign//sourceId:1807359_1
            analysisFieldBatchDataComReqDto.setCustomField7(reqDto.getCustomField7());//SimpleFieldAssign//sourceId:1807360_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue7(reqDto.getCustomFieldValue7());//SimpleFieldAssign//sourceId:1807361_1
            analysisFieldBatchDataComReqDto.setCustomField8(reqDto.getCustomField8());//SimpleFieldAssign//sourceId:1807362_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue8(reqDto.getCustomFieldValue8());//SimpleFieldAssign//sourceId:1807363_1
            analysisFieldBatchDataComReqDto.setCustomField9(reqDto.getCustomField9());//SimpleFieldAssign//sourceId:1807364_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue9(reqDto.getCustomFieldValue9());//SimpleFieldAssign//sourceId:1807365_1
            analysisFieldBatchDataComReqDto.setCustomField10(reqDto.getCustomField10());//SimpleFieldAssign//sourceId:1807366_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue10(reqDto.getCustomFieldValue10());//SimpleFieldAssign//sourceId:1807367_1
            analysisFieldBatchDataComReqDto.setCustomField11(reqDto.getCustomField11());//SimpleFieldAssign//sourceId:1807368_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue11(reqDto.getCustomFieldValue11());//SimpleFieldAssign//sourceId:1807369_1
            analysisFieldBatchDataComReqDto.setCustomField12(reqDto.getCustomField12());//SimpleFieldAssign//sourceId:1807370_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue12(reqDto.getCustomFieldValue12());//SimpleFieldAssign//sourceId:1807371_1
            analysisFieldBatchDataComReqDto.setCustomField13(reqDto.getCustomField13());//SimpleFieldAssign//sourceId:1807372_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue13(reqDto.getCustomFieldValue13());//SimpleFieldAssign//sourceId:1807373_1
            analysisFieldBatchDataComReqDto.setCustomField14(reqDto.getCustomField14());//SimpleFieldAssign//sourceId:1807374_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue14(reqDto.getCustomFieldValue14());//SimpleFieldAssign//sourceId:1807375_1
            analysisFieldBatchDataComReqDto.setCustomField15(reqDto.getCustomField15());//SimpleFieldAssign//sourceId:1807376_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue15(reqDto.getCustomFieldValue15());//SimpleFieldAssign//sourceId:1807377_1
            analysisFieldBatchDataComReqDto.setCustomField16(reqDto.getCustomField16());//SimpleFieldAssign//sourceId:1807378_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue16(reqDto.getCustomFieldValue16());//SimpleFieldAssign//sourceId:1807379_1
            analysisFieldBatchDataComReqDto.setCustomField17(reqDto.getCustomField17());//SimpleFieldAssign//sourceId:1807380_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue17(reqDto.getCustomFieldValue17());//SimpleFieldAssign//sourceId:1807381_1
            analysisFieldBatchDataComReqDto.setCustomField18(reqDto.getCustomField18());//SimpleFieldAssign//sourceId:1807382_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue18(reqDto.getCustomFieldValue18());//SimpleFieldAssign//sourceId:1807383_1
            analysisFieldBatchDataComReqDto.setCustomField19(reqDto.getCustomField19());//SimpleFieldAssign//sourceId:1807384_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue19(reqDto.getCustomFieldValue19());//SimpleFieldAssign//sourceId:1807385_1
            analysisFieldBatchDataComReqDto.setCustomField20(reqDto.getCustomField20());//SimpleFieldAssign//sourceId:1807386_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue20(reqDto.getCustomFieldValue20());//SimpleFieldAssign//sourceId:1807387_1
            analysisFieldBatchDataComReqDto.setCustomField21(reqDto.getCustomField21());//SimpleFieldAssign//sourceId:1807388_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue21(reqDto.getCustomFieldValue21());//SimpleFieldAssign//sourceId:1807389_1
            analysisFieldBatchDataComReqDto.setCustomField22(reqDto.getCustomField22());//SimpleFieldAssign//sourceId:1807390_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue22(reqDto.getCustomFieldValue22());//SimpleFieldAssign//sourceId:1807391_1
            analysisFieldBatchDataComReqDto.setCustomField23(reqDto.getCustomField23());//SimpleFieldAssign//sourceId:1807392_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue23(reqDto.getCustomFieldValue23());//SimpleFieldAssign//sourceId:1807393_1
            analysisFieldBatchDataComReqDto.setCustomField24(reqDto.getCustomField24());//SimpleFieldAssign//sourceId:1807394_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue24(reqDto.getCustomFieldValue24());//SimpleFieldAssign//sourceId:1807395_1
            analysisFieldBatchDataComReqDto.setCustomField25(reqDto.getCustomField25());//SimpleFieldAssign//sourceId:1807396_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue25(reqDto.getCustomFieldValue25());//SimpleFieldAssign//sourceId:1807397_1
            analysisFieldBatchDataComReqDto.setCustomField26(reqDto.getCustomField26());//SimpleFieldAssign//sourceId:1807398_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue26(reqDto.getCustomFieldValue26());//SimpleFieldAssign//sourceId:1807399_1
            analysisFieldBatchDataComReqDto.setCustomField27(reqDto.getCustomField27());//SimpleFieldAssign//sourceId:1807400_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue27(reqDto.getCustomFieldValue27());//SimpleFieldAssign//sourceId:1807401_1
            analysisFieldBatchDataComReqDto.setCustomField28(reqDto.getCustomField28());//SimpleFieldAssign//sourceId:1807402_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue28(reqDto.getCustomFieldValue28());//SimpleFieldAssign//sourceId:1807403_1
            analysisFieldBatchDataComReqDto.setCustomField29(reqDto.getCustomField29());//SimpleFieldAssign//sourceId:1807404_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue29(reqDto.getCustomFieldValue29());//SimpleFieldAssign//sourceId:1807405_1
            analysisFieldBatchDataComReqDto.setCustomField30(reqDto.getCustomField30());//SimpleFieldAssign//sourceId:1807406_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue30(reqDto.getCustomFieldValue30());//SimpleFieldAssign//sourceId:1807407_1
            analysisFieldBatchDataComReqDto.setCustomField31(reqDto.getCustomField31());//SimpleFieldAssign//sourceId:1807408_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue31(reqDto.getCustomFieldValue31());//SimpleFieldAssign//sourceId:1807409_1
            analysisFieldBatchDataComReqDto.setCustomField32(reqDto.getCustomField32());//SimpleFieldAssign//sourceId:1807410_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue32(reqDto.getCustomFieldValue32());//SimpleFieldAssign//sourceId:1807411_1
            analysisFieldBatchDataComReqDto.setCustomField33(reqDto.getCustomField33());//SimpleFieldAssign//sourceId:1807412_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue33(reqDto.getCustomFieldValue33());//SimpleFieldAssign//sourceId:1807413_1
            analysisFieldBatchDataComReqDto.setCustomField34(reqDto.getCustomField34());//SimpleFieldAssign//sourceId:1807414_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue34(reqDto.getCustomFieldValue34());//SimpleFieldAssign//sourceId:1807415_1
            analysisFieldBatchDataComReqDto.setCustomField35(reqDto.getCustomField35());//SimpleFieldAssign//sourceId:1807416_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue35(reqDto.getCustomFieldValue35());//SimpleFieldAssign//sourceId:1807417_1
            analysisFieldBatchDataComReqDto.setCustomField36(reqDto.getCustomField36());//SimpleFieldAssign//sourceId:1807418_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue36(reqDto.getCustomFieldValue36());//SimpleFieldAssign//sourceId:1807419_1
            analysisFieldBatchDataComReqDto.setCustomField37(reqDto.getCustomField37());//SimpleFieldAssign//sourceId:1807420_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue37(reqDto.getCustomFieldValue37());//SimpleFieldAssign//sourceId:1807421_1
            analysisFieldBatchDataComReqDto.setCustomField38(reqDto.getCustomField38());//SimpleFieldAssign//sourceId:1807422_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue38(reqDto.getCustomFieldValue38());//SimpleFieldAssign//sourceId:1807423_1
            analysisFieldBatchDataComReqDto.setCustomField39(reqDto.getCustomField39());//SimpleFieldAssign//sourceId:1807424_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue39(reqDto.getCustomFieldValue39());//SimpleFieldAssign//sourceId:1807425_1
            analysisFieldBatchDataComReqDto.setCustomField40(reqDto.getCustomField40());//SimpleFieldAssign//sourceId:1807426_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue40(reqDto.getCustomFieldValue40());//SimpleFieldAssign//sourceId:1807427_1
            analysisFieldBatchDataComReqDto.setCustomField41(reqDto.getCustomField41());//SimpleFieldAssign//sourceId:1807428_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue41(reqDto.getCustomFieldValue41());//SimpleFieldAssign//sourceId:1807429_1
            analysisFieldBatchDataComReqDto.setCustomField42(reqDto.getCustomField42());//SimpleFieldAssign//sourceId:1807430_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue42(reqDto.getCustomFieldValue42());//SimpleFieldAssign//sourceId:1807431_1
            analysisFieldBatchDataComReqDto.setCustomField43(reqDto.getCustomField43());//SimpleFieldAssign//sourceId:1807432_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue43(reqDto.getCustomFieldValue43());//SimpleFieldAssign//sourceId:1807433_1
            analysisFieldBatchDataComReqDto.setCustomField44(reqDto.getCustomField44());//SimpleFieldAssign//sourceId:1807434_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue44(reqDto.getCustomFieldValue44());//SimpleFieldAssign//sourceId:1807435_1
            analysisFieldBatchDataComReqDto.setCustomField45(reqDto.getCustomField45());//SimpleFieldAssign//sourceId:1807436_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue45(reqDto.getCustomFieldValue45());//SimpleFieldAssign//sourceId:1807437_1
            analysisFieldBatchDataComReqDto.setCustomField46(reqDto.getCustomField46());//SimpleFieldAssign//sourceId:1807438_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue46(reqDto.getCustomFieldValue46());//SimpleFieldAssign//sourceId:1807439_1
            analysisFieldBatchDataComReqDto.setCustomField47(reqDto.getCustomField47());//SimpleFieldAssign//sourceId:1807440_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue47(reqDto.getCustomFieldValue47());//SimpleFieldAssign//sourceId:1807441_1
            analysisFieldBatchDataComReqDto.setCustomField48(reqDto.getCustomField48());//SimpleFieldAssign//sourceId:1807442_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue48(reqDto.getCustomFieldValue48());//SimpleFieldAssign//sourceId:1807443_1
            analysisFieldBatchDataComReqDto.setCustomField49(reqDto.getCustomField49());//SimpleFieldAssign//sourceId:1807444_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue49(reqDto.getCustomFieldValue49());//SimpleFieldAssign//sourceId:1807445_1
            analysisFieldBatchDataComReqDto.setCustomField50(reqDto.getCustomField50());//SimpleFieldAssign//sourceId:1807446_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue50(reqDto.getCustomFieldValue50());//SimpleFieldAssign//sourceId:1807447_1
        }

        /*D2-分析单字段批量转数据集(公共)[8405]   */

        analysisFieldBatchDataComRespDto = interfaceModeService.analysisFieldBatchDataCom(analysisFieldBatchDataComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


//步骤1: D4新增内存业务数据(公共) - addCalcMemoryBusinessDataCom
        AddCalcMemoryBusinessDataComRespDto addCalcMemoryBusinessDataComRespDto = null;
        if (analysisFieldBatchDataComRespDto != null) {
            AddCalcMemoryBusinessDataComReqDto addCalcMemoryBusinessDataComReqDto = new AddCalcMemoryBusinessDataComReqDto();
            if (reqDto != null) {
                addCalcMemoryBusinessDataComReqDto.setBusinessDataObject(reqDto.getBusinessDataObject());//SimpleFieldAssign//sourceId:1807449_1
                addCalcMemoryBusinessDataComReqDto.setDataObjectBatchCode(reqDto.getDataObjectBatchCode());//SimpleFieldAssign//sourceId:1807450_1
                addCalcMemoryBusinessDataComReqDto.setIsDataList(reqDto.getIsDataList());//SimpleFieldAssign//sourceId:1807451_1
            }
            if (analysisFieldBatchDataComRespDto != null && analysisFieldBatchDataComRespDto.getFieldBatchDataList() != null && !CollectionUtil.isEmpty(analysisFieldBatchDataComRespDto.getFieldBatchDataList())) {
                addCalcMemoryBusinessDataComReqDto.setMemoryBusinessDataList(analysisFieldBatchDataComRespDto.getFieldBatchDataList().stream().map(item -> BeanUtil.toBean(item, MemoryBusinessDataDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1807452_1
            }

            /*D4新增内存业务数据(公共)[9608]   */
            Assert.isNull(addCalcMemoryBusinessDataComReqDto.getBusinessDataObject(), "D4新增内存业务数据(业务原子)-D4新增内存业务数据(公共)-业务数据对象不能为空", false);
            Assert.isNull(addCalcMemoryBusinessDataComReqDto.getDataObjectBatchCode(), "D4新增内存业务数据(业务原子)-D4新增内存业务数据(公共)-数据对象批次标识不能为空", false);
            Assert.isNull(addCalcMemoryBusinessDataComReqDto.getIsDataList(), "D4新增内存业务数据(业务原子)-D4新增内存业务数据(公共)-是否是数据集对象不能为空", false);
            addCalcMemoryBusinessDataComRespDto = interfaceModeService.addCalcMemoryBusinessDataCom(addCalcMemoryBusinessDataComReqDto)/*vcase invoke isSameApp*/;


        }

        AddCalcMemoryDataComRespDto retData = new AddCalcMemoryDataComRespDto();


        return retData;
    }

    /**
     * D4动态分配数据集最后一条记录值(公共)[9671]
     * gen by moon at 5/28/2024, 11:29:29 PM
     */
    @Trace(operationName = "D4动态分配数据集最后一条记录值(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public AnalysisDyncAllocateDatasetLastRecordComRespDto analysisDyncAllocateDatasetLastRecordCom(AnalysisDyncAllocateDatasetLastRecordComReqDto reqDto) {


        ImplementDatasSetFetchLastLatestComRespDto implementDatasSetFetchLastLatestComRespDto_1 = null;
        CalculateSubtractionOfTwoNumServiceComRespDto calculateSubtractionOfTwoNumServiceComRespDto_1 = null;
        if ((reqDto != null && reqDto.getBusinessDataSetList() != null && reqDto.getBusinessDataSetList().size() > 1)) {
            //if(D4动态分配数据集最后一条记录值(公共).业务数据对象列表数据集条数 大于 1)  69268

            ImplementDatasSetFetchLastLatestComRespDto implementDatasSetFetchLastLatestComRespDto = null;
            ImplementDatasSetFetchLastLatestComReqDto implementDatasSetFetchLastLatestComReqDto = new ImplementDatasSetFetchLastLatestComReqDto();
            if (reqDto != null && reqDto.getBusinessDataSetList() != null && !CollectionUtil.isEmpty(reqDto.getBusinessDataSetList())) {
                implementDatasSetFetchLastLatestComReqDto.setBusinessDataSetList(reqDto.getBusinessDataSetList().stream().map(item -> BeanUtil.toBean(item, com.wicket.okrcomponent.integration.dto.BusinessDataSetDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1823499_1_69269
            }

            /*D2执行数据集取最后一条(公共)[9408]   */

            implementDatasSetFetchLastLatestComRespDto = interfaceModeService.implementDatasSetFetchLastLatestCom(implementDatasSetFetchLastLatestComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            implementDatasSetFetchLastLatestComRespDto_1 = implementDatasSetFetchLastLatestComRespDto;
            ObtainDataFilterSpecRecByComRespDto obtainDataFilterSpecRecByComRespDto = null;
            if (implementDatasSetFetchLastLatestComRespDto != null) {
                ObtainDataFilterSpecRecByComReqDto obtainDataFilterSpecRecByComReqDto = new ObtainDataFilterSpecRecByComReqDto();
                if (reqDto != null && reqDto.getBusinessDataSetList() != null && !CollectionUtil.isEmpty(reqDto.getBusinessDataSetList())) {
                    obtainDataFilterSpecRecByComReqDto.setDataFilterSpecRecByList(//objList-to-objLists
                            reqDto.getBusinessDataSetList().stream().map(item -> {
                                DataFilterSpecRecByDto elm = new DataFilterSpecRecByDto();
                                if (item != null) {
                                    elm.setComTxtField(item.getCustomField1());//SimpleFieldAssign//sourceId:366592_2_69270
                                    elm.setComFloatField(item.getComFloatField1());//SimpleFieldAssign//sourceId:366619_2_69270
                                }
                                return elm;
                            }).collect(Collectors.toList()));//objList-to-objLists//sourceId:1823487_1_69270
                }
                if (implementDatasSetFetchLastLatestComRespDto != null) {
                    obtainDataFilterSpecRecByComReqDto.setComTxtField(implementDatasSetFetchLastLatestComRespDto.getCommPrimaryKey());//SimpleFieldAssign//sourceId:1823486_1_69270
                }

                /*D2数据集减去最后一条的剩余记录[7387]   */
                Assert.isNull(obtainDataFilterSpecRecByComReqDto.getComTxtField(), "D4动态分配数据集最后一条记录值(公共)-D2数据集减去最后一条的剩余记录-通用文本字段不能为空", false);
                obtainDataFilterSpecRecByComRespDto = interfaceModeService.obtainDataFilterSpecRecByCom(obtainDataFilterSpecRecByComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            }
            CalculateSumOfMultipleNumServiceComRespDto calculateSumOfMultipleNumServiceComRespDto = null;
            if (obtainDataFilterSpecRecByComRespDto != null) {
                CalculateSumOfMultipleNumServiceComReqDto calculateSumOfMultipleNumServiceComReqDto = new CalculateSumOfMultipleNumServiceComReqDto();
                calculateSumOfMultipleNumServiceComReqDto.setDecimalPointRules(Long.valueOf(10));//CUSTOM_CONVENTION//sourceId:1823491_1_69271
                calculateSumOfMultipleNumServiceComReqDto.setDecimalDigitsLastRules("MALING");//sourceId:1823492_1_69271
                if (obtainDataFilterSpecRecByComRespDto != null && obtainDataFilterSpecRecByComRespDto.getDataFilterSpecRecByList() != null && !CollectionUtil.isEmpty(obtainDataFilterSpecRecByComRespDto.getDataFilterSpecRecByList())) {
                    calculateSumOfMultipleNumServiceComReqDto.setSumOfMultipleNumList(//objList-to-objLists
                            obtainDataFilterSpecRecByComRespDto.getDataFilterSpecRecByList().stream().map(item -> {
                                SumOfMultipleNumDto elm = new SumOfMultipleNumDto();
                                if (item != null) {
                                    elm.setCommPrimaryKey(item.getComTxtField());//SimpleFieldAssign//sourceId:366594_2_69271
                                    elm.setCalcPara1(item.getComFloatField());//SimpleFieldAssign//sourceId:366595_2_69271
                                }
                                return elm;
                            }).collect(Collectors.toList()));//objList-to-objLists//sourceId:1823489_1_69271
                }

                /*D4求出剩余记录之和[3375]   */
                Assert.isNull(calculateSumOfMultipleNumServiceComReqDto.getDecimalPointRules(), "D4动态分配数据集最后一条记录值(公共)-D4求出剩余记录之和-小数点规则不能为空", false);
                Assert.isNull(calculateSumOfMultipleNumServiceComReqDto.getDecimalDigitsLastRules(), "D4动态分配数据集最后一条记录值(公共)-D4求出剩余记录之和-小数最后一位规则不能为空", false);
                calculateSumOfMultipleNumServiceComRespDto = calculationRulesService.calculateSumOfMultipleNumServiceCom(calculateSumOfMultipleNumServiceComReqDto)/*vcase invoke isSameApp*/;


            }
            CalculateSubtractionOfTwoNumServiceComRespDto calculateSubtractionOfTwoNumServiceComRespDto = null;
            if (calculateSumOfMultipleNumServiceComRespDto != null) {
                CalculateSubtractionOfTwoNumServiceComReqDto calculateSubtractionOfTwoNumServiceComReqDto = new CalculateSubtractionOfTwoNumServiceComReqDto();
                if (reqDto != null) {
                    calculateSubtractionOfTwoNumServiceComReqDto.setCalcPara1(reqDto.getComFloatField());//SimpleFieldAssign//sourceId:1823493_1_69272
                    calculateSubtractionOfTwoNumServiceComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:1823496_1_69272
                    calculateSubtractionOfTwoNumServiceComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:1823497_1_69272
                }
                if (calculateSumOfMultipleNumServiceComRespDto != null) {
                    calculateSubtractionOfTwoNumServiceComReqDto.setCalcPara2(calculateSumOfMultipleNumServiceComRespDto.getCalcResult());//SimpleFieldAssign//sourceId:1823494_1_69272
                }

                /*D4总值减剩余记录之和=动态分配的最后一条记录值[3365]   */
                Assert.isNull(calculateSubtractionOfTwoNumServiceComReqDto.getCalcPara1(), "D4动态分配数据集最后一条记录值(公共)-D4总值减剩余记录之和=动态分配的最后一条记录值-计算入参1不能为空", false);
                Assert.isNull(calculateSubtractionOfTwoNumServiceComReqDto.getCalcPara2(), "D4动态分配数据集最后一条记录值(公共)-D4总值减剩余记录之和=动态分配的最后一条记录值-计算入参2不能为空", false);
                Assert.isNull(calculateSubtractionOfTwoNumServiceComReqDto.getDecimalPointRules(), "D4动态分配数据集最后一条记录值(公共)-D4总值减剩余记录之和=动态分配的最后一条记录值-小数点规则不能为空", false);
                Assert.isNull(calculateSubtractionOfTwoNumServiceComReqDto.getDecimalDigitsLastRules(), "D4动态分配数据集最后一条记录值(公共)-D4总值减剩余记录之和=动态分配的最后一条记录值-小数最后一位规则不能为空", false);
                calculateSubtractionOfTwoNumServiceComRespDto = calculationRulesService.calculateSubtractionOfTwoNumServiceCom(calculateSubtractionOfTwoNumServiceComReqDto)/*vcase invoke isSameApp*/;


                calculateSubtractionOfTwoNumServiceComRespDto_1 = calculateSubtractionOfTwoNumServiceComRespDto;
            }
        }
        AnalysisDyncAllocateDatasetLastRecordComRespDto retData = new AnalysisDyncAllocateDatasetLastRecordComRespDto();
        if (implementDatasSetFetchLastLatestComRespDto_1 != null) {
            retData.setCommPrimaryKey(implementDatasSetFetchLastLatestComRespDto_1.getCommPrimaryKey());//SimpleFieldAssign//sourceId:1823511_1
        }
        if (calculateSubtractionOfTwoNumServiceComRespDto_1 != null) {
            retData.setCalcResult(calculateSubtractionOfTwoNumServiceComRespDto_1.getCalcResult());//SimpleFieldAssign//sourceId:1823510_1
        }


        return retData;
    }
    //
}
